#------------------------------------------------------------------------------

SOURCEFILESTIGER=tiger/TigerReward.cpp tiger/TigerSimulator.cpp tiger/TigerSuperState.cpp tiger/typesTiger.cpp onlinePlanningTiger.cpp
SOURCEFILESFOLLOW=follow/FollowReward.cpp follow/FollowSimulator.cpp follow/FollowSuperState.cpp follow/typesFollow.cpp onlinePlanningFollow.cpp
SOURCEFOLDER=src/
MYPROGRAMTIGER=bapomdp_tiger
MYPROGRAMFOLLOW=bapomdp_follow
SOURCETIGER = $(addprefix $(SOURCEFOLDER),$(SOURCEFILESTIGER))
SOURCEFOLLOW = $(addprefix $(SOURCEFOLDER),$(SOURCEFILESFOLLOW))
CC=g++

#------------------------------------------------------------------------------

all: tiger
	
follow: $(MYPROGRAMFOLLOW)
$(MYPROGRAMFOLLOW): $(SOURCEFOLLOW)

	$(CC) -ggdb $(SOURCEFOLLOW) -o bin/$(MYPROGRAMFOLLOW)

tiger: $(MYPROGRAMTIGER)
$(MYPROGRAMTIGER): $(SOURCETIGER)

	$(CC) -ggdb $(SOURCETIGER) -o bin/$(MYPROGRAMTIGER)

clean:
	rm -f $(MYPROGRAM)